<? 
$pilih=mysql_query("select tgl_training from training 
 where month(tgl_training)='12' and year(tgl_training)='$_POST[tahun]' and no_training='$ada[no_training]'");
$pilih_bln=mysql_fetch_array($pilih);
{
$bln_12=$pilih_bln[tgl_training];
}  
$hit=mysql_num_rows($pilih);
if($hit>0)
{
echo"$bln_12";
}
?> 